package visitor.pattern.simple.computer.visitors;

import lombok.extern.slf4j.Slf4j;
import visitor.pattern.simple.computer.kinds.Keyboard;
import visitor.pattern.simple.computer.kinds.Mouse;

/**
 * @Author: Coderlyz
 * @Date: 2023/3/29 14:37
 */
@Slf4j
public class VisitorAdaptorLyz extends ComputerPartVisitorAdaptor {


    @Override
    public void visit(Mouse mouse) {
        log.debug("我是lyz 我只想且已经看了："+mouse);
    }

    @Override
    public void visit(Keyboard keyboard) {
        log.debug("我是lyz 我只想且已经看了：" +keyboard);
    }

}
